package tech.aistar.entity;

import java.util.Date;

public class Cost {
    private Integer id;

    private String houseId;

    private Double rentMoney;

    private Double deposit;

    private Double serviceTip;

    private Date tenancy;

    private String tenancyType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId == null ? null : houseId.trim();
    }

    public Double getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(Double rentMoney) {
        this.rentMoney = rentMoney;
    }

    public Double getDeposit() {
        return deposit;
    }

    public void setDeposit(Double deposit) {
        this.deposit = deposit;
    }

    public Double getServiceTip() {
        return serviceTip;
    }

    public void setServiceTip(Double serviceTip) {
        this.serviceTip = serviceTip;
    }

    public Date getTenancy() {
        return tenancy;
    }

    public void setTenancy(Date tenancy) {
        this.tenancy = tenancy;
    }

    public String getTenancyType() {
        return tenancyType;
    }

    public void setTenancyType(String tenancyType) {
        this.tenancyType = tenancyType == null ? null : tenancyType.trim();
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Cost{");
        sb.append("id=").append(id);
        sb.append(", houseId='").append(houseId).append('\'');
        sb.append(", rentMoney=").append(rentMoney);
        sb.append(", deposit=").append(deposit);
        sb.append(", serviceTip=").append(serviceTip);
        sb.append(", tenancy=").append(tenancy);
        sb.append(", tenancyType='").append(tenancyType).append('\'');
        sb.append('}');
        return sb.toString();
    }
}